package com.seari.custody.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.seari.custody.enums.MeetingType;
import lombok.*;

import java.util.Date;

/**
 * @author lxv1
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MeetingListDTO {
    private Integer index;
    private String meetingId;
    private String projectName;
    private String meetingName;
    private String meetingOriginator;
    private String meetingUnits;
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date startTime;
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date endTime;
    private String duration;
    private String maxOnline;
    private String roomId;
    private String inviteLink;
    private String type;
    private String ackMsg;
    private String remark;

    public String getType() {
        return MeetingType.ONLINE.getDesc(type);
    }



}
